#ifndef _QUEST_UI_H_
#define _QUEST_UI_H_


#include <base_ui.h>

class Player;
class Team;

class QuestUI:public BaseUI
{
private:
	Player* pPlayer;
	Team* pTeam;

	enum{LINE_COL=2,LINE_ROW=7};
	enum {ICON_SIZE = 32};
	enum{LINE_H = 40,LINE_W = 40,TEXT_COL=12, TEXT_H = 20};
	int questCount;

public:

#ifdef _OGRE_3D_
	TextOverlay* pTextQName ;
	TextOverlay* pTextQExpGold ;
	TextOverlay* pTextQInfo ;
#endif

	QuestUI();

	void init(Player *pl,Team *pt);

	void update() ;

	void beClick(int rmx,int rmy,KeyMan& keyMan);

	void draw(HDC hdc);

};

#endif